<!--
 * @Author: jay
 * @Date: 2021-08-17 23:18:03
 * @LastEditTime: 2021-08-17 23:28:35
 * @LastEditors: Please set LastEditors
 * @Description: 背景
 * @FilePath: \Briup\Common\study\2-css\3-其他样式规则\7-background.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景</title>
    <style>
        .box{
            border: 10px dashed #ccc;
            width: 500px;
            height: 400px;
            padding: 10px;
            margin: 10;

            background-image: url(/Common/study/1-html/images/git.png);
            background-repeat: no-repeat;
            background-clip: border-box;
            background-origin: content-box;
            background-attachment: scroll;

        }
    </style>
</head>
<body>
    <div class="box">hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world</div>
</body>
</html>